<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" th:href="@{/css/common.css}">
    <link rel="stylesheet" th:href="@{/css/personal-notice.css}">
    <link rel="stylesheet" th:href="@{/css/errorpage.css}">
    <script type="text/javascript" th:src="@{/js/jquery-3.1.1.min.js}"></script>

</head>

<body>
    <div class="errorPage" style="top: 40%;">
        <img th:src="@{/images/404-logo.png}" alt="" class="logo">
        <span th:text="${code}"></span>
        <p th:text="${msg}"></p>
        <p>建议您检查一下再试</p>
        <a th:href="@{/}" class="notice_back">返回首页</a>
    </div>
</body>
<script th:inline="javascript">
    $('.notice_back').hover(function(){

        $(this).addClass('confirm');
        $(this).siblings().removeClass('confirm');
    },function(){
        $(this).removeClass('confirm');
    })
</script>
</html>